package org.csmz.class2334;

public class Example06 {
    public static void main(String[] args) {
        Person student = new Person("小明", "学生");
        student.print();
        Person teacher = new Person("张伟", "教师", "数学");
        teacher.print();
    }
}
